using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;

namespace Zsa.Emulation.Processor
{


    [Serializable(),StructLayout(LayoutKind.Sequential,Size=8)]
    public struct CpuInstruction 
    {
        #region Fields
        /// <summary>
        /// Reference to readonly class containing information 
        /// needed to execute this instruction.
        /// </summary>
        private readonly OpCode _CodeData;

        /// <summary>
        /// The address or data for the instruction.
        /// </summary>
        private readonly ushort _Data;

        private readonly OpCodes _OpCode;
        /// <summary>
        /// The op code data.
        /// </summary>
        private readonly OpCode _OpCodeData;


        #endregion Fields


//        public CpuInstruction(byte[] data, int offset)
//        {
////            _Instruction = (OpCodes) data[offset + 1];

//        }

        public OpCodes Opcode
        {
            get
            {
                throw new Exception();
            }
        }

    }

}
